﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/Default.master" AutoEventWireup="true"
    CodeFile="Default.aspx.cs" Inherits="admin_Modules_Result_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="content" runat="Server">
    <!--  start page-heading -->
    <div id="page-heading">
        <h1>
        </h1>
    </div>
    <!-- end page-heading -->
    <table border="0" width="100%" cellpadding="0" cellspacing="0" id="content-table">
        <tr>
            <th rowspan="3" class="sized">
                <asp:Image runat="server" ID="imgShadowleft" ImageUrl="~/admin/images/shared/side_shadowleft.jpg"
                    Width="20" Height="300" />
            </th>
            <th class="topleft">
            </th>
            <td id="tbl-border-top">
                &nbsp;
            </td>
            <th class="topright">
            </th>
            <th rowspan="3" class="sized">
                <asp:Image runat="server" ID="imgShadowright" ImageUrl="~/admin/images/shared/side_shadowright.jpg"
                    Width="20" Height="300" />
            </th>
        </tr>
        <tr>
            <td id="tbl-border-left">
            </td>
            <td>
                <!--  start content-table-inner ...................................................................... START -->
                <div id="content-table-inner">
                    <!--  start table-content  -->
                    <div id="table-content">
                        <table border="0" width="100%" cellpadding="0" cellspacing="0">
                            <tr>
                                <th>
                                    Năm Học:
                                </th>
                                <td>
                                    <asp:DropDownList runat="server" ID="ddlNamHoc" OnSelectedIndexChanged="ddlNamHoc_SelectedIndexChanged"
                                        AutoPostBack="True">
                                    </asp:DropDownList>
                                </td>
                                <th>
                                    Lớp:
                                </th>
                                <td>
                                    <asp:DropDownList runat="server" ID="ddlLop" OnSelectedIndexChanged="ddlLop_SelectedIndexChanged"
                                        AutoPostBack="True">
                                    </asp:DropDownList>
                                </td>
                                <th>
                                    Học Kỳ:
                                </th>
                                <td>
                                    <asp:DropDownList runat="server" ID="ddlHocKy" OnSelectedIndexChanged="ddlHocKy_SelectedIndexChanged"
                                        AutoPostBack="True">
                                        <asp:ListItem Value="-1" Text="Tất cả"></asp:ListItem>
                                        <asp:ListItem Value="0" Text="1"></asp:ListItem>
                                        <asp:ListItem Value="1" Text="2"></asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td>
                                </td>
                            </tr>
                        </table>
                        <br />
                        <!--  start message-green -->
                        <div id="message-green">
                            <table border="0" width="100%" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td class="green-left">
                                        <asp:Label runat="server" Visible="false" ID="lblSucessMsg"></asp:Label>
                                        <asp:HyperLink runat="server" Text="Thêm mới Kết Quả Học Sinh" ID="hplNewItem" NavigateUrl="~/admin/Modules/Result/NewItem.aspx"></asp:HyperLink>
                                    </td>
                                    <td class="green-right">
                                        <a class="close-green">
                                            <asp:Image runat="server" ID="imgCloseGreen" ImageUrl="~/admin/images/table/icon_close_green.gif" />
                                    </td>
                                </tr>
                            </table>
                        </div>
                        <!--  end message-green -->
                        <!--  start product-table ..................................................................................... -->
                        <asp:GridView runat="server" AllowPaging="true" Width="100%" AutoGenerateColumns="false"
                            EmptyDataText="Không tồn tại dữ liệu" ID="grwKqHocSinh" CellSpacing="0" CellPadding="0"
                            OnRowDataBound="grwKqHocSinh_RowDataBound">
                            <Columns>
                                <asp:TemplateField HeaderStyle-CssClass="table-header-repeat line-left">
                                    <HeaderTemplate>
                                        <asp:HyperLink runat="server" ID="hplHeader" Text="Loại Kết Quả"></asp:HyperLink>
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <%# Eval("LoaiKQ")%>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderStyle-CssClass="table-header-repeat line-left minwidth-1">
                                    <HeaderTemplate>
                                        <asp:HyperLink runat="server" ID="hplHeader" Text="Năm Học"></asp:HyperLink>
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <%# Eval("NamHoc")%>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderStyle-CssClass="table-header-repeat line-left minwidth-1">
                                    <HeaderTemplate>
                                        <asp:HyperLink runat="server" ID="hplHeader" Text="Học Kỳ"></asp:HyperLink>
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <%# Eval("HocKy")%>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderStyle-CssClass="table-header-repeat line-left minwidth-1">
                                    <HeaderTemplate>
                                        <asp:HyperLink runat="server" ID="hplLop" Text="Lớp"></asp:HyperLink>
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <%# Eval("Lop")%>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderStyle-CssClass="table-header-repeat line-left">
                                    <HeaderTemplate>
                                        <asp:HyperLink runat="server" ID="hplThaoTac" Text="Thao tác"></asp:HyperLink>
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <a href="EditItem.aspx?ItemId=<%#Eval("MaKQ") %>" title="Sửa" class="icon-1 info-tooltip">
                                        </a>
                                        <asp:LinkButton runat="server" ID="lbtXoa" CssClass="icon-2 info-tooltip" ToolTip="Xóa"
                                            OnClientClick="return confirm('Bạn chắc chắn muốn xóa ?')"></asp:LinkButton>
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                            <PagerTemplate>
                                <table border="0" cellpadding="0" cellspacing="0" id="paging-table">
                                    <tr>
                                        <td>
                                            <asp:LinkButton runat="server" ID="lbtFrist" ToolTip="Trang đầu" OnClick="lbtFrist_Click" CssClass="page-far-left"></asp:LinkButton>
                                            <asp:LinkButton runat="server" ID="lbtPrevious" ToolTip="Trang trước" OnClick="lbtPrevious_Click" CssClass="page-left"></asp:LinkButton>
                                            <div id="page-info">
                                                Trang <strong><asp:Literal runat="server" ID="ltrCurrentPage"></asp:Literal> </strong> / <asp:Literal runat="server" ID="ltrTotalPage"></asp:Literal></div>
                                            <asp:LinkButton runat="server" ID="lbtNext" ToolTip="Trang kế tiếp" OnClick="lbtNext_Click" CssClass="page-right"></asp:LinkButton>
                                            <asp:LinkButton runat="server" ID="lbtLast" ToolTip="Trang cuối" OnClick="lbtLast_Click" CssClass="page-far-right"></asp:LinkButton>
                                        </td>
                                        <td>
                                            <asp:DropDownList runat="server" OnSelectedIndexChanged="ddlPager_SelectedIndexChanged" AutoPostBack="true" ID="ddlPager" CssClass="dropdownlistStyle" >
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                </table>
                            </PagerTemplate>
                            <PagerStyle BorderStyle="None"/>
                        </asp:GridView>
                        <!--  end product-table................................... -->
                    </div>
                    <!--  end content-table  -->
                    <!--  start actions-box ............................................... -->
                    <div id="actions-box">
                        <div id="actions-box-slider">
                            <a href="" class="action-edit">Edit</a> <a href="" class="action-delete">Delete</a>
                        </div>
                        <div class="clear">
                        </div>
                    </div>
                    <!-- end actions-box........... -->
                    <!--  start paging..................................................... -->
                    <%--<table border="0" cellpadding="0" cellspacing="0" id="paging-table">
                        <tr>
                            <td>
                                <a href="" class="page-far-left"></a><a href="" class="page-left"></a>
                                <div id="page-info">
                                    Page <strong>1</strong> / 15</div>
                                <a href="" class="page-right"></a><a href="" class="page-far-right"></a>
                            </td>
                            <td>
                                <select class="styledselect_pages">
                                    <option value="">Number of rows</option>
                                    <option value="">1</option>
                                    <option value="">2</option>
                                    <option value="">3</option>
                                </select>
                            </td>
                        </tr>
                    </table>--%>
                    <!--  end paging................ -->
                    <div class="clear">
                    </div>
                </div>
                <!--  end content-table-inner ............................................END  -->
            </td>
            <td id="tbl-border-right">
            </td>
        </tr>
        <tr>
            <th class="sized bottomleft">
            </th>
            <td id="tbl-border-bottom">
                &nbsp;
            </td>
            <th class="sized bottomright">
            </th>
        </tr>
    </table>
    <div class="clear">
        &nbsp;</div>
</asp:Content>
